import Vue from 'vue'
import VueRouter from 'vue-router'
// import Index from '../views/Index'

// import Index from '../views/test/codemirror/index'
// import Index from '../views/test/vueCodemirror/index'

// import Index from '../views/test/canvas/index.vue'
// import Index from '../views/test/canvas/Infinite'

// import Index from '../views/test/area/index'

import Index from '../views/test/sqlDrawer/index'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Index',
    component: Index,
    meta: { title: '系统管理', icon: 'el-icon-s-help' },
  },
]

const router = new VueRouter({
  mode: 'history',
  routes
})

export default router
